/*!
\copyright  Copyright (c) 2023 Qualcomm Technologies International, Ltd.
            All Rights Reserved.
            Qualcomm Technologies International, Ltd. Confidential and Proprietary.
\file
\brief      Sync start A2DP data types
 
It is temporarily made public because it is used outside this module.
 
*/

#ifndef SYNC_START_A2DP_TYPES_H_
#define SYNC_START_A2DP_TYPES_H_

#include <source.h>

/*@{*/

/*! \brief Enumeration of kymera audio sync states */
typedef enum
{
    /*!  default state */
    KYMERA_AUDIO_SYNC_STATE_INIT,
    /*! audio sync is in progress */
    KYMERA_AUDIO_SYNC_STATE_IN_PROGRESS,
     /*! audio sync has completed*/
    KYMERA_AUDIO_SYNC_STATE_COMPLETE
} sync_start_a2dp_stat_t;

/*! \brief Enumeration of kymera audio sync states. These are equivalent to the
    mirror_profile_a2dp_start_mode_t states. */
typedef enum
{
    KYMERA_AUDIO_SYNC_START_PRIMARY_UNSYNCHRONISED,
    KYMERA_AUDIO_SYNC_START_PRIMARY_SYNCHRONISED,
    KYMERA_AUDIO_SYNC_START_SECONDARY_SYNCHRONISED,
    KYMERA_AUDIO_SYNC_START_PRIMARY_SYNC_UNMUTE,
    KYMERA_AUDIO_SYNC_START_SECONDARY_SYNC_UNMUTE,
    KYMERA_AUDIO_SYNC_START_Q2Q,
    KYMERA_AUDIO_SYNC_START_Q2Q_PRIMARY_UNMUTE,
    KYMERA_AUDIO_SYNC_START_Q2Q_SECONDARY_UNMUTE,
} sync_start_a2dp_mode_t;

/*! \brief Kymera audio synchronisation information structure */
typedef struct
{
    sync_start_a2dp_mode_t mode;
    sync_start_a2dp_stat_t state;
    Source source;
} sync_start_a2dp_info_t;

/*@}*/

#endif /* SYNC_START_A2DP_TYPES_H_ */
